import { RoutesDataItem } from "@/routes";
import Main from '@/views/main.vue'
import BlankLayout from './blankLayout.vue';
import homeList from '@/views/home/list1.vue';

const IndexLayoutRoutes: Array<RoutesDataItem> = [ 
  {
    // icon: 'home',
    // title: '首页',
    // path: '/main',
    // redirect: '/main/list1',
    // component: BlankLayout,
    // children: [
    //   {
        // icon: 'control',
        title: '列表1',
        path: '/list1',
        component: homeList,
        //面包屑
        breadcrumb: [ 
          {
            title: '首页',
            path: '/home',
          },
          {
            title: '列表1',
            path: '/home/list1',
          }
        ]
      },
      {
        // icon: 'control',
        title: '列表2',
        path: '/list2',
        component: () => import('@/views/home/list2.vue'),
        breadcrumb: [ 
          {
            title: '首页',
            path: '/home',
          },
          {
            title: '列表2',
            path: '/home/list2',
          }
        ]
      },
      {
        // icon: 'control',
        title: '百度',
        path: 'http://www.baidu.com',
        redirect:''
      }
  //   ],
  // },
 

];




export default IndexLayoutRoutes;